home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 July / 07_02.iso / software / xq-xsetup / files / setup.exe / {app} / plugins / XQ Win9x User Settings General.xpl < prev    next >
Text File  |  2001-12-27  |  1KB  |  42 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="1"
  3. "COUNT"="2"
  4. "UIPATH"="System\User Data"
  5. "NAME"="Windows User Data (9x/ME)"
  6. "VERSION"="2.01"
  7. "LANGUAGE"="VBScript"
  8. "OSVERSION"="10101"
  9. "TEXT 1"="Name"
  10. "TEXT 2"="Company"
  11. "DESCRIPTION 1"="While Windows has been installed on your computer, it has saved your name and the name of your company."
  12. "DESCRIPTION 2"="This information can be changed here."
  13. "AUTHOR"="Xteq Systems"
  14. "CONTACTURL"="http://www.xteq.com/"
  15. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  16. "COMMENT 1"="Thanks to Anthony Perez/Rivernet Communications [mailto:rivernet1@uswest.net] for his help!"
  17.  
  18. sV1="HKLM\Software\Microsoft\Windows\CurrentVersion\RegisteredOwner"
  19. sV2="HKLM\Software\Microsoft\Windows\CurrentVersion\RegisteredOrganization"
  20.  
  21. Sub Plugin_Initialize 
  22.  s=RegReadValue(sV1)
  23.  SetUIElement 1,s
  24.  
  25.  s=RegReadValue(sV2)
  26.  SetUIElement 2,s
  27. End Sub
  28.  
  29. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  30.  s=GetUIElement(1)
  31.  Call RegWriteValue(sV1,s,1)
  32.  
  33.  s=GetUIElement(2)
  34.  Call RegWriteValue(sV2,s,1)
  35. End Sub
  36.  
  37. Sub Plugin_Terminate 
  38. End Sub
  39.  
  40.  
  41.  
  42.